<table>
    <tr>
        <th>&nbsp;</th>
        <th>{$nameLabel}</th>
        <th>{$order}</th>
        <th>&nbsp;</th>
    </tr>
    {section name=gallery loop=$galleries}
    <tr>
        <td>{if $galleries[gallery].preview}
            <img src="{simage src=$galleries[gallery].preview width=80 height=80 border=true}" alt="{$galleries[gallery].name}" />
            {/if}
        </td>
        <td>{$galleries[gallery].name}</td>
        <td>{$galleries[gallery].order}</td>
        <td>
            <a href="{$galleries[gallery].add}">{$addPhotos}</a>
            <a href="{$galleries[gallery].photos}">{$photos}</a>
            <a href="{$galleries[gallery].edit}">{$edit}</a>
            <a href="{$galleries[gallery].up}">{$moveUp}</a>
            <a href="{$galleries[gallery].down}">{$moveDown}</a>
            <a href="{$galleries[gallery].delete}" onclick="return confirm('{$reallyDelete}')">{$delete}</a>
        </td>
    </tr>
    {/section}
</table>